//
//  OrderTableViewCell.h
//  UEAssistant
//
//  Created by mac on 2017/1/22.
//  Copyright © 2017年 youyixinxi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TeamWaitModel.h"
#import "TeamIngModel.h"
#import "PlatWaitModel.h"
#import "PlatIngModel.h"

@class FillLabelView;

@interface OrderTableViewCell : UITableViewCell
typedef NS_ENUM(NSInteger, CellModelType){
    /** 团队待抢单*/
    ModelTypeTeamWait,
    /** 团队进行中*/
    ModelTypeTeamIng,
    /** 平台待抢单*/
    ModelTypePlatWait,
    /** 平台进行中*/
    ModelTypePlatIng,
};

@property (nonatomic, strong, readonly) UIView                                              *backView;
@property (nonatomic, strong, readonly) UIView                                              *noticView;
@property (nonatomic, strong, readonly) UILabel                                             *nameLabel;
@property (nonatomic, strong, readonly) UILabel                                             *tagLabel;
@property (nonatomic, strong, readonly) UILabel                                             *wordCount;
@property (nonatomic, strong, readonly) UILabel                                             *langugeType;
@property (nonatomic, strong, readonly) UILabel                                             *timeLabel;
@property (nonatomic, strong, readonly) UIImageView                                         *headView;
@property (nonatomic, strong, readonly) UILabel                                             *tagLabeltwo;
@property (nonatomic, strong, readonly) UILabel                                             *tagLabelThr;
@property (nonatomic, strong, readonly) UILabel                                             *tagLabelFour;
@property (nonatomic, strong, readonly) UIImageView                                         *yuImage;
@property (nonatomic, strong, readonly) UILabel                                             *allProgress;
@property (nonatomic, strong, readonly) UIImageView                                         *timeImage;
@property (nonatomic, strong, readonly) UILabel                                             *orderType;
@property (nonatomic, strong, readonly) UIImageView                                         *historyGrayView;
@property (nonatomic, strong, readonly) UIImageView                                         *typeImageVV;
@property (nonatomic, strong, readonly) FillLabelView                                       *fillLabelView;

//@property (nonatomic, strong)TeamWaitModel          *teamWaitModel;
//@property (nonatomic, strong)TeamIngModel           *teamIngModel;
//@property (nonatomic, strong)PlatWaitModel          *platWaitModel;
//@property (nonatomic, strong)PlatIngModel           *platIngModel;

//初始化cell
+(instancetype)cellWithTableView:(UITableView *)tableView;

//传入模型
-(void)dispatchData:(id)model cellModelType:(CellModelType)modelType;

//移除订单类型视图
- (void)removeTypeView;

//给cell添加一层阴影
- (void)showHisGray;

//移除cell上的阴影
- (void)hiddenHisGray;

@end

